package util;

import org.junit.Test;
import pojo.Person;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author Liu Huan
 */

public class DateUtils extends org.apache.commons.lang3.time.DateUtils {
    
    public static String format(Date date, String pattern) {
        SimpleDateFormat formatter = new SimpleDateFormat(pattern);
        return formatter.format(date);
    }
    
    @Test
    public void printNumbers() throws Exception {
        
    }
}
